package com.virtium.vpm.controller;

import com.virtium.vpm.hibernate.model.User;
import com.virtium.vpm.util.FormUtil;





/**
 * 
 * 
 * @author TuanAnh
 *
 */
public class UserSession {

	private String sessionId = null;
	private String username = "";
	private String fullName = "";
	private User user;
	
	

	private boolean isAdmin = false;
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getSessionId() {
		return sessionId;
	}
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	public boolean isAdmin() {
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
	}
	public User getUser() {		
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
